package com.bootdo.common.controller;

import com.bootdo.system.domain.UserDO;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BaseRest {
	public UserDO getUser() {
//		return ShiroUtils.getUser();
		UserDO userDO = new UserDO();
		userDO.setUserId(135l);
		userDO.setUsername("wjl");
		return userDO;
	}

	public Long getUserId() {
//		return getUser().getUserId();
		return 135l;
	}

	public String getUsername() {
//		return getUser().getUsername();
		return "wjl";
	}
}